package com.suke.czx.modules.wxadmin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.wxadmin.dao.DkReadPlanMsgDao;
import com.suke.czx.modules.wxadmin.entity.DkReadPlanMsgEntity;
import com.suke.czx.modules.wxadmin.service.DkReadPlanMsgService;



@Service("dkReadPlanMsgService")
public class DkReadPlanMsgServiceImpl implements DkReadPlanMsgService {
	@Autowired
	private DkReadPlanMsgDao dkReadPlanMsgDao;
	
	@Override
	public DkReadPlanMsgEntity queryObject(String id){
		return dkReadPlanMsgDao.queryObject(id);
	}
	
	@Override
	public List<DkReadPlanMsgEntity> queryList(Map<String, Object> map){
		return dkReadPlanMsgDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dkReadPlanMsgDao.queryTotal(map);
	}
	
	@Override
	public void save(DkReadPlanMsgEntity dkReadPlanMsg){
		dkReadPlanMsgDao.save(dkReadPlanMsg);
	}
	
	@Override
	public void update(DkReadPlanMsgEntity dkReadPlanMsg){
		dkReadPlanMsgDao.update(dkReadPlanMsg);
	}
	
	@Override
	public void delete(String id){
		dkReadPlanMsgDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dkReadPlanMsgDao.deleteBatch(ids);
	}

	@Override
	public void deleteAll() {
		dkReadPlanMsgDao.deleteAll();
	}

	@Override
	public void planedSave(String readDate) {
		dkReadPlanMsgDao.planedSave(readDate);
	}

	@Override
	public int updateSendStateBatch(Object[] id) {
		return dkReadPlanMsgDao.updateSendStateBatch(id);
	}
	
}
